import Vuex, { Module, StoreOptions } from "vuex";
import Vue from "vue";
Vue.use(Vuex);

let store: StoreOptions<any> | Module<any, any> = {
  state: {
    data: []
  },
};

export function createStore() {
  return new Vuex.Store(store);
}
